<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模拟百度首页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #f1f1f1;
            padding: 10px;
        }
        .logo {
            width: 120px;
        }
        .search-box {
            display: flex;
            align-items: center;
        }
        .search-input {
            width: 500px;
            padding: 8px;
            font-size: 16px;
        }
        .search-button {
            padding: 8px 16px;
            font-size: 16px;
            cursor: pointer;
        }
        .nav-links, .hot-search {
            list-style-type: none;
            padding: 0;
        }
        .nav-links {
            padding-left: 10px;
        }
        .hot-search {
            padding-left: 10px;
        }
    </style>
</head>
<body>
<div class="header">
    <div>
        <a href="news.html">新闻</a>
        <a href="#">hao123</a>
        <!-- 其他链接 -->
    </div>
    <div>
        <a href="#">设置</a>
        <a href="#">个人中心</a>
        <!-- 其他链接 -->
    </div>
</div>
<div style="text-align: center; margin-top: 20px;">
    <img class="logo" src="https://www.baidu.com/img/bd_logo1.png" alt="Baidu Logo">
    <div class="search-box">
        <input type="text" class="search-input" placeholder="输入关键词">
        <button class="search-button" onclick="search()">百度一下</button>
    </div>
</div>
<div style="display: flex; justify-content: space-around; margin-top: 20px;">
    <div>
        <h3>推荐</h3>
        <ol class="nav-links">
            <li>推荐1</li>
            <li>推荐2</li>
            <li>推荐3</li>
            <!-- 其他推荐 -->
        </ol>
    </div>
    <div>
        <h3>百度热搜</h3>
        <ul class="hot-search">
            <li>热搜1</li>
            <li>热搜2</li>
            <li>热搜3</li>
            <!-- 其他热搜 -->
        </ul>
    </div>
</div>

<script>
    function search() {
        alert('你点击了百度一下！');
    }
</script>
</body>
</html>